package ooday02;

public class Dog extends Animal{

Dog(String name,String color,int age){
    super(name,color,age);
}
   void eat(){
       System.out.println(name+age+"岁的"+color+"颜色的"+"再吃骨头");

   }
   void lookHome(){
System.out.println(name+"正在看家");
    }
}
